import Vue from 'vue'
import App from './layouts/App.vue'

Vue.config.productionTip = false

import router from './plugins/router.js'
import './assets/js/font.js'
import './assets/css/base.css'



import './plugins/vant.js'
import "./plugins/axios"

let {url} = require('./server.js')
Vue.prototype.$url = url

Vue.directive('title', (el, binding) => {
	document.title = binding.value
})

let vm = new Vue({
	render: h => h(App),
	data: {
		bLoading: false,
	},
	router
}).$mount('#app')
export default vm
